home *** CD-ROM | disk | FTP | other *** search
- <TITLE>WebSite 1.0 Troubleshooting Tips</TITLE>
- <h1><IMG SRC="images/website.gif" alt="WebSite 1.0a" WIDTH=216 HEIGHT=72>
- Troubleshooting Tips</H1>
- <p>
- Rather than try to cover the variety of problems you
- might
- encounter using WebSite in your particular environment, this document provides
- some general guidelines of where to look for information on diagnosing and
- solving those problems yourself.
- <p>
- Because some problems are common (or extremely specific), we include them as
- well. And sometimes you just have to start over and reinstall the software.
- This
- document includes the procedure for
- <a href=#install>reinstalling and uninstalling the WebSite
- software</a>.
- <p>
- If you work through these items and still cannot solve the problem, check the
- online resources at
- <a href=http://website.ora.com>WebSite Central</a>.
- O'Reilly & Associates does not provide technical support for demonstration versions.
- <p>
- Many of the problems you may encounter when installing and starting
- your server are networking related. The specific problems can be myriad,
- from a mistyped IP address to a wrongly-configured TCP/IP setup. These
- problems are beyond the scope of this book and should be addressed to
- your network administrator or your Internet service provider. If you
- suspect the problem is with your TCP/IP configuration, see the
- documentation for your operating and network systems.
-
- <h2>Try Looking in These Places</h2>
- <p>
- The following troubleshooting guidelines will help you diagnose and solve
- problems you may encounter.
- <ul>
- <li> Run the <a href=http://localhost/wsdocs/32demo/>WebSite server self-test</a> to
- verify that your server is set up correctly.
- <li> Test your network connection with another tool or application such as
- ping or telnet.
- <li> Stop the server and check the error log (look in the <tt>logs</tt>
- subdirectory of your WebSite installation directory).
- <li> Stop the server and check the server log. Note that restarting the
- server
- wipes out the contents of this log.
- <li> Enable various tracing options for the server log, and recreate the
- problems
- you are having. Then stop the server and check the tracing data in the server
- log. Remember that restarting the server wipes out this log.
- <li> Check the WebSite abort log (located in the WebSite directory) for
- fatal
- internal server errors.
- <li> Check the Application Event Log (from the Windows NT Event Viewer) for
- information and warnings about problems with the application.
- <li> Check the diagnostics information provided for HTML files in WebView
- for
- possible HTML tagging errors..
- <li> Look closely at the error messages sent from the server to the browser.
- For
- example, in the "Not Found" return, the server reports both the URL and the
- physical file pathname for the URL target-information invaluable in diag-
- nosing mapping problems. Not all browsers save error messages. If yours
- doesn't, we recommend you try another browser or enable Dump Sent Data
- tracing, which shows what the server sent to the browser.
-
- <li> Your Web browser's View Source option often points out useful
- information --
- perhaps an HTML tag is missing or incomplete.
- <li> If you are doing CGI work, enable CGI tracing in Logging and use the
- <tt>DEBUG_MODE</tt> CGI variable to enable debugging/tracing features of your
- CGI program.
- </ul>
-
- <h2>Some Specific Situations</h2>
- <p>
- The items listed below are specific situations you may encounter:
- <ul>
- <li> If you installed WebSite on a drive other than <tt>C:</tt>, you may need to
- create a
- <tt>C:\TEMP</tt> directory. WebSite uses this directory for writing output files,
- particularly
- when you have CGI tracing enabled. WebSite will not start properly
- without a <tt>C:\TEMP</tt> directory.
- <li> If you want to run WebSite as a service, make sure you change the run
- mode
- on the General page of Server Admin.
- <li> If you change the file permissions on WebSite files, the server may not
- run or
- may not run properly.
- <li> You may have insufficient DOS environment space (Windows 95 only). The
- self-test requires the server to run CGI programs in a DOS window. The
- programs will fail if you don't have enough environment space. Add the line
- CommandEnvSize=8192 to the [NonWindowsApp] section of system.ini
- </ul>
-
- <h2>Look for Answers at WebSite Central</h2>
- <p>
- If you can't solve your problem with the resources above, the online resources
- are the next place to look. <a href=http://website.ora.com/>WebSite Central</a>,
- a WebSite maintained for WebSite
- users by the technical support staff of O'Reilly & Associates, provides product
- information, answers to frequently asked questions (FAQs), troubleshooting
- help,
- advice for particular implementations of WebSite, ideas for new uses of
- WebSite,
- sample HTML files, helpful utility programs, and opportunities to interact with
- the
- technical support staff and other WebSite users.
- <p>
- You can tap the resources at WebSite Central with your browser and find how
- others have dealt with similar problems. In addition, the Frequently Asked
- Questions
- (FAQs) published on WebSite Central may provide just the answer you
- need. You will also find pointers to other resources on the Web, such as
- specifications and external viewers.
-
- <a name=install>
- <h2>Start All Over Again</h2>
- </a>
- <p>
- Sometimes, the only way to fix a problem is to start over with fresh copies of
- the
- software. The WebSite Setup utility includes options to let you reinstall or
- uninstall
- the WebSite software.
-
- <h3>Reinstalling WebSite</h3>
- <p>
- Reinstalling the software does not affect any of your web documents or most of
- your WebSite configuration (for example, mapping, image maps, access control).
- When you reinstall WebSite, you can change the physical location of the server,
- the
- server's fully qualified domain name, the email address of the server
- administrator,
- and the default document root and index file name. Note that you can make these
- same changes through Server Admin. Reinstall is also
- used
- for installing software updates to WebSite.
- <p>
- To reinstall WebSite, make sure the server and browser are not running and
- follow these steps:
- <ol>
- <li> Insert the medium containing the WebSite demo in your
- computer and execute the Setup program by double-clicking on the setup.exe
- file in the File Manager. The WebSite Setup utility window appears.
- <li> Press Install. The reinstallation procedure is the same as when
- you first
- installed WebSite. You will be asked a series of questions about your server
- and web.
- </ol>
-
- <h3>Uninstalling WebSite</h3>
- <p>
- Uninstall, on the other hand, lets you remove all or part of your existing
- WebSite
- server and web and start over completely. Using Uninstall, you can remove the
- WebSite service (Windows NT only), delete the WebSite registry keys, and/or
- delete the entire WebSite directory. Uninstall is a drastic measure; please
- read the
- warning and follow the steps below when running Uninstall.
- <p>
- Using the Uninstall option of the WebSite Setup utility completely
- removes all or part of your existing WebSite (service, registry keys, and
- documents included in the WebSite directory). Back up any documents and
- note any registry configurations (mapping, access control, image maps)
- you wish to retain. Read the following instructions carefully.
- <p>
- To Uninstall WebSite, follow these steps:
- <ol>
- <li> Insert the medium containing the WebSite demo in your
- computer and execute the Setup program by double-clicking on the setup.exe
- file in the File Manager. The WebSite Setup utility window appears.
- <li> Press Uninstall. The program asks you three questions about
- which part(s) of WebSite to remove:
- <ul>
- <li> Remove WebSite Service? If you answer yes, the program removes the
- service components of WebSite. You will no longer be able to run
- WebSite as a service (Windows NT only).
- <li> Delete WebSite Registry Keys? If you answer yes, the program completely
- removes all configuration values for WebSite, including mapping, image
- maps, access control, automatic directory indexing setup, users, groups,
- and realms. Make sure you want to delete this information before
- responding yes. If your problems with WebSite are unsolvable any other
- way, you will have to answer yes.
- <li> Delete <tt>C:\WEBSITE</tt>? If you answer yes, the entire WebSite directory
- structure is completely deleted, including any web documents you have created
- in the default document mapping space (that is, <tt>HTDOCS</tt>) or in any
- other location under the WebSite directory. To retain these documents,
- make sure they are backed up before responding yes. Note that this ques-
- tion will show your actual WebSite working directory, which may or may
- not be <tt>C:\WEBSITE</tt>.
- </ul>
- <li> Respond yes or no to each question as appropriate for the
- action you wish to
- accomplish.
- <li> Install WebSite again.
- </ol>
-
-
-